@mixin bg{
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}


@mixin line-height($h){
  height: $h;
  line-height: $h;
}

@mixin bgc($color){
  background-color: $color;
}


@mixin transition($prop, $time, $type){
  -webkit-transition: $prop $time $type;
  -moz-transition: $prop $time $type;
  -ms-transition: $prop $time $type;
  -o-transition: $prop $time $type;
  transition: $prop $time $type;
}


@mixin full{
  width: 100%;
  height: 100%;
  overflow: auto;
}


@mixin clear-f{
  &:after{
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
  }
}

@mixin ellipsis{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@mixin flex-center{
  display: flex;
  align-items: center;
  justify-content: center;
}

@mixin flex-row-center{
  display: flex;
  flex-direction: row;
  align-items: center;
}


@mixin trans-vertical-center{
  position: absolute;
  top: 50%;
  -webkit-transform: transLateY(-50%);
  -ms-transform: transLateY(-50%);
  transform: transLateY(-50%);
}

@mixin trans-center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: transLate(-50%,-50%);
}

@mixin flex-row{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

@mixin limit-height{
  height: 100%;
  overflow: auto;
}

@mixin border-box{
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

@mixin position-fill{
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.depart-default .ivu-menu-submenu-title{
  line-height: 25px;
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
}
.depart-default .ivu-menu-item{
  border-left: 1px solid #eee;
}
.business-default .ivu-table-fixed-body{
  overflow: visible;
}
.business-default .ivu-table-fixed::before, .ivu-table-fixed-right::before{
  z-index: 3;
}